package com.xcity.pomelo.request;

import com.xcity.pomelo.PomeloRoute;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.PomeloPacket;

@PomeloMessage(route = PomeloRoute.EMPLOYEE_RECRUIT)
public class EmployeeRecruitRequest extends PomeloPacket {

	@Deprecated
	private int num = 1; // 招聘次数
	private byte type; // 招聘类型(0:钻石单抽 1:钻石10抽 2:金币单抽 3金币10抽 4金币100抽 5:高级 6:普通)
	private byte stoneTen;//0:钻石正常十抽 1钻石连续十抽
	
	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public byte getType() {
		return type;
	}

	public void setType(byte type) {
		this.type = type;
	}

	public byte getStoneTen() {
		return stoneTen;
	}

	public void setStoneTen(byte stoneTen) {
		this.stoneTen = stoneTen;
	}
	
//	public boolean validate() {
//		return type == EmployeeRecruitConfigure.Type.STONE.ordinal()
//				|| type == EmployeeRecruitConfigure.Type.SENIOR_RESUME.ordinal()
//				|| type == EmployeeRecruitConfigure.Type.GENERAL_RESUME.ordinal();
//	}
	
}
